package heartBeat;

import java.rmi.Remote; 
import java.rmi.RemoteException; 
import java.sql.SQLException;

import dataStruct.EnumHeartBeatType;
import dataStruct.HeartBeatResponse;
import dataStruct.SlaverLoad;


public interface MasterHeartBeatApiInterface extends Remote{
    public HeartBeatResponse heartBeat(
    		int slaverId, 
    		EnumHeartBeatType register,
    		SlaverLoad slaveLoad, 
    		String info)throws RemoteException, SQLException; 
}
